package com.ruoyi.information.domain.back;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 推荐列表对象 recom
 *
 * @author ruoyi
 * @date 2023-05-24
 */
public class RecomBack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 所在位置 */
    @Excel(name = "所在位置")
    private String position;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 推荐id */
    @Excel(name = "推荐id")
    private Long recomId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 图片 */
    @Excel(name = "图片")
    private String photo;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long num;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setRecomId(Long recomId)
    {
        this.recomId = recomId;
    }

    public Long getRecomId()
    {
        return recomId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhoto(String photo)
    {
        this.photo = photo;
    }

    public String getPhoto()
    {
        return photo;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("position", getPosition())
            .append("type", getType())
            .append("recomId", getRecomId())
            .append("name", getName())
            .append("photo", getPhoto())
            .append("num", getNum())
            .toString();
    }
}
